package com.dcxs.shop.module.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 商品规格表
 * </p>
 *
 * @author zzh
 * @since 2020-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("js_product_specification")
public class JsProductSpecification implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId
    private Integer  id;

    /**
     * 商品的id
     */
    private Integer productId;

    /**
     * 规格描述
     */
    private String specification;

    @TableField(exist = false)
    private List<JsProductPrice> jsProductPrices;



}
